package hcn.protocol.brandnew.dengji.bingli;

import lombok.Data;
import javax.xml.bind.annotation.*;
import java.util.List;
import hcn.protocol.brandnew.BaseRequest;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import ctd.util.xml.jaxb.DateTimeAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * 全院住院记录查询-请求信息 - ODS_03120004
 *
 * @author enjoyLife
 */
@Data
@XmlRootElement(name = "MsgBody")
@XmlAccessorType(XmlAccessType.FIELD)
public class QueryInpatientRecordRequest extends BaseRequest {

    /**
     * 就诊医疗机构组织机构代码
     */
    @XmlElement(name = "AutherOrganization")
    private String autherOrganization;
    /**
     * 开始时间
     */
    @XmlElement(name = "BeginDateTime")
    @XmlJavaTypeAdapter(DateTimeAdapter.class)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date beginDateTime;
    /**
     * 结束时间
     */
    @XmlElement(name = "EndDateTime")
    @XmlJavaTypeAdapter(DateTimeAdapter.class)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endDateTime;
    /**
     * 每页条数
     */
    @XmlElement(name = "PageSize")
    private Long pageSize;
    /**
     * 分页页数
     */
    @XmlElement(name = "PageNo")
    private Long pageNo;

}
